package test.entity;

/**
 * @author yuanZhi
 * @since 2022/1/25 17:15
 */
public class Human {
    private Man man;

    private int num;

    public Man getMan() {
        return man;
    }

    public Human() {
    }

    public Human(Man man, int num) {
        this.man = man;
        this.num = num;
    }

    public void setMan(Man man) {
        this.man = man;
    }

    public int getNum() {
        return num;
    }

    public void setNum(int num) {
        this.num = num;
    }

    @Override
    public String toString() {
        return "Human{" +
                "man=" + man +
                ", num=" + num +
                '}';
    }
}
